package light.head.controller.site;

import java.io.Serializable;
import java.util.List;

import light.head.framework.base.BaseDAO;
import light.head.model.OrganSynopsisAnnex;

import org.springframework.stereotype.Service;
@Service
public class OrganSynopsisImgDAO extends BaseDAO<OrganSynopsisAnnex, Serializable>{
	private static final String sql_indexlist = "FROM OrganSynopsisAnnex osa WHERE osa.deleted = 0 AND osa.odc = ? AND osa.cover = 1";
	//获取首页List
		public List<OrganSynopsisAnnex> getIndexList(Integer code){
			return super.find(sql_indexlist, code);
		}
}
